<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>入门案例</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>

<div id="app">
    <p>
        {{ title }}
        <br>
        {{ sayHello() }}

    </p>

</div>
</body>

<script>
    new Vue({
        el:"#app",
        data:{
           title:"helloWorld"
        },
        methods:{
            sayHello:function(){
                return "hello!!!!";
            }
        }
    });
</script>


</html>